package com.concurrent.threadpool.thread;

import java.util.concurrent.TimeUnit;

/**
 * @Date 2021/8/10 11:14
 * @Author WangLinBao
 * @Description
 */
public class MyThread extends Thread{
    @Override
    public void run() {

        for(;;){
            try {
                System.out.println("========"+currentThread().getName());
                TimeUnit.SECONDS.sleep(3);
            } catch (InterruptedException e) {
                e.printStackTrace();
            }

        }
    }
}
